import Vue from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import './utils/api.js';
import axios from 'axios';
import moment from 'moment';
import './plugins/element.js';


Vue.use(ElementUI);
Vue.config.productionTip = false;
Vue.prototype.$http = axios;
Vue.prototype.$moment = moment;
axios.defaults.baseURL = "http://localhost:8099";

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app');
